
package com.chen.qmzy.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 添加收货地址
 */
@Data
@ApiModel(description = "增加收货地址参数")
public class AddressInsertForm {

    @ApiModelProperty(value = "收件人名称", position = 1, required = true)
    private String receiver;

    @ApiModelProperty(value = "收件人联系方式", position = 2, required = true)
    private String  cellphone;

    @ApiModelProperty(value = "是否默认地址 false/true", position = 3)
    private int isDefault;

    @ApiModelProperty(value = "省", position = 4)
    private String province;

    @ApiModelProperty(value = "市", position = 5)
    private String city;

    @ApiModelProperty(value = "区/县", position = 6)
    private String county;

    @ApiModelProperty(value = "详细地址",position = 7)
    private String address;

    @ApiModelProperty(value = "区域编码", position = 8, required = true)
    private String areacode;

    @ApiModelProperty(value = "邮政编码",position = 9)
    private String postcode;

    @ApiModelProperty(value = "区域",position = 10)
    private String tag;
}
